* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: url(bg.png) no-repeat;
    background-size: cover;
    line-height: 1.15;
    height: 100%;
    width: 100%;
}

header {
    position: relative;
    height: 100px;
    background: url(head_bg.png) no-repeat top center;
    background-size: 100% 100%;
}

header h1 {
    font-size: 38px;
    color: #fff;
    text-align: center;
    line-height: 80px;
    font-family: Arial;
}

header .showTime {
    position: absolute;
    top: 0;
    right: 30px;
    line-height: 75px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.nav {
    width: 100%;
    height: 50px;
    display: flex;
}

.nav div {
    width: 25%;
    margin: 5px 5px 5px;
}

.nav input {
    width: 100%;
    height: 30px;
    font-size: 20px;
    text-align: center;
    background: lightblue;
    border: #F5F5F5;
    border-radius: 10px;
}

.mainbox {
    height: calc(100% - 150px);
    width: 100%;
    display: flex;
}

.first-box {
    flex: 1;
    margin: 0 10px 10px;
    height: 100%;
}

.first-box:nth-child(2) {
    flex: 2;
}

.second-box {
    background: rgba(255, 255, 255, 0.04) url(line.png);
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
}

#EquipmentState, #EquipmentStartRate {
    height: 50%
}

#EquipmentsStateTop {
    height: 100%
}

table {
    color: white;
    width: 100%;
    height: 100%;
    margin: auto;
}

table td {
    color: white;
    text-align: center;
}

